Skip to content

Comments

[audioplayers] Add "init" global method call handler#2

Merged
martinetd merged 2 commits intoflutter-elinux:mainfrom
makotosato-at:add_init_audioplayers
Feb 18, 2026
Merged

[audioplayers] Add "init" global method call handler#2
martinetd merged 2 commits intoflutter-elinux:mainfrom
makotosato-at:add_init_audioplayers

Conversation

@makotosato-at
Copy link

In version 6.4.0 of audioplayers, the call to the 'init' method was added to the 'global method channel'.
To address this, the handling for 'init' was added to 'HandleGlobalMethodCall'.

see also: bluefireteam/audioplayers#1905

see also: bluefireteam/audioplayers#1905

Signed-off-by: Makoto Sato <makoto.sato@atmark-techno.com>
@martinetd martinetd force-pushed the add_init_audioplayers branch from b5b1768 to d8b0627 Compare February 18, 2026 03:53
Added a 'global event channel handler' to address the following error.
---
flutter: MissingPluginException(No implementation found for method listen on channel xyz.luan/audioplayers.global/events)
flutter: #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
flutter: <asynchronous suspension>
flutter: flutter-elinux#1      EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:676)
flutter: <asynchronous suspension>
---

Signed-off-by: Makoto Sato <makoto.sato@atmark-techno.com>
@martinetd martinetd force-pushed the add_init_audioplayers branch from d8b0627 to c600fe5 Compare February 18, 2026 04:14
@martinetd
Copy link

Likewise just fixed clang-format (and chennel -> channel typo in commit message)

I could reproduce both errors (now gone) and code looks sensible enough to me, merging.

@martinetd martinetd merged commit 4378785 into flutter-elinux:main Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants